package com.hlx.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hlx.entity.admin.Station;
import com.hlx.entity.admin.TrainNumber;
import com.hlx.entity.user.TrainNumberStation;

import java.time.LocalTime;
import java.util.List;


public interface TrainNumberStationService extends IService<TrainNumberStation> {
    public List<TrainNumberStation> getTrainNumberStationByStationName(String stationName);
    public List<String> getTrainNumberByTwoName(List<String> stationName);
    public TrainNumberStation getTrainNumberByStationNameAndTrainNumber(String stationName,String trainNumber);
    public Integer getStopTime(List<TrainNumberStation> trainNumberStations);
    public Boolean addTrainNumberStations(List<Station> stations,TrainNumber trainNumber,Integer velocity,List<Integer> stopTimes);
    public boolean deleteTrainNumberStations(String trainNumberName);
}
